function install (Vue, vm) {
	// 文章列表
	let getArticle = (params = {}) => vm.$u.get('/article', params);
	
	// 详情
	let getArticleInfo = (id) => vm.$u.get('/article/'+id);
	
	// 文章分类
	let getArticleCategory = (params = {}) => vm.$u.get('/articleCategory', params);
	
	return {
		getArticle,
		getArticleInfo,
		getArticleCategory,
	};
}

export default install